package com.tencent.sr.iris.activity.common.config;

import com.tencent.sr.tech.dynamic.config.spring.annotation.DynamicConfigObject;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
@DynamicConfigObject(key = "esConfig")
public class EsConfig {

    /**
     * 最大精确统计数
     */
    private Long maxPreciseCount;

    /**
     * 分组聚合返回的最大terms数量
     */
    private Integer termsSize = 10000;

    /**
     * 分页最大pageSize
     */
    private Integer maxPageSize = 10000;
}
